Libraries. Extending Processing beyond graphics and image, libraries enable audio, video, and communicating with other devices.

The following libraries are included with the Wiring software. To add one to a project, select its name from the "Import Library..." option in the Sketch menu. These libraries are open source; the code is distributed with Wiring.

Serial

Supports communication between Wiring and external hardware via the serial port

EEPROM

Basic Wiring I/O board internal EEPROM management library

Servo

By Michael Margolis Servo motor manipulation library

LiquidCrystal

Basic liquid crystal display (LCD) manipulation library

Encoder

Basic Encoder manipulation library

Stepper

Basic stepper motor manilupation library

Wire

Two Wire Interface for sending and receiving data over a net of devices or sensors

SPI

Serial Peripheral Interface Bus or SPI bus for sending and receiving data in a master/slave mode

Matrix

Basic LED Matrix display manipulation library

Sprite

Basic image sprite manipulation library for use in animations with an LED matrix

QSlide

Basic QPROX QSlide family of sensors library

SoftwareSerial

Supports communication between Wiring and external hardware via software serial ports

Timer2

Hardware Timer2 library

Firmata

by Hans-Christoph Steiner A generic protocol designed to communicate with Wiring from software on a host computer. Included with the Wiring dsitribution

NMEA

by Maarten Lamers. Library for easy decoding of GPS data on the Wiring and Arduino hardware by Maarten Lamers. Included with the Wiring distribution.

WIRING_OSC

by Bjoern Hartman A Firmware library to send OSC messages from a Wiring board to a PC and to receive OSC messages sent from the PC, just load the http://protolab.pbwiki.com/f/wiring_osc_0004.pde file in the Wiring editor and then upload into the Wiring hardware. Use this library with Wiring release +0018 and newer. Check also the full wiki here.

Messenger

by Thomas Ouellet Fredericks. Messenger is a "toolkit" that facilitates the parsing of ASCII messages. Messenger processes characters until it receives a carriage return (CR). It then considers the message complete and available. The message is split into many elements as defined by a separator. The default separator is the space character, but can be any character other than NULL, LF or CR. Messenger facilitates communication with terminals or message based programs like Processing, Pure Data or Max/Msp. Also in French. Included with the Wiring distribution +0027.

NewSoftSerial

by Mikal Hart. Supports communication between Wiring and external hardware via software serial ports. Included with the Wiring distribution +0027.


Contributions

Contributed libraries if standard (Wiring libaries style) must be downloaded separately and placed within the "libraries" folder of your Wiring sketchbook or follow the instructions in their respective site. To find the Wiring sketchbook location on your computer, open the Preferences window from the Wiring application and look for the "Sketchbook location" item at the top. Copy the contributed library's folder into the "libraries" folder at this location. You will need to create the "libraries" folder if this is your first contributed library. Follow the links below for more information about each library.

Contributed libraries are developed, documented, and maintained by members of the Wiring community. For feedback and support, please post to the Discourse, for development discussions post to Libraries Development.

There is a wide number of libraries developed by the Arduino community, If the libraries use the standard set of commands of the language API they should work fine. Download and install as described above. Check out the Arduino Playground Code Library. For questions/help regarding third party libraries please post to Libraries Development.

WiringLib for Processing

by Christoph Wartmann and Etienne Ribeiro The library is in an early stage but is already usefull for small applications in Processing. Interface sensors and motors without the need to programm it in Wiring, directly in Processing or JAVA!

d.Tools OSC Library

by Björn Hartmann, Scott Klemmer and Leith Abdulla A software library to connect the Wiring board to the d.Tools prototyping software

Keypad

by Mark Stanley and Alexander Brevig. A library to easily handling the Matrix keypad. The library is included with Wiring +0023

Password

by Alexander Brevig. A library to easily simple password handling. The library is included with Wiring +0023